//
//  WBNavigationViewController.swift
//  Weibo
//
//  Created by wade on 17/2/17.
//  Copyright © 2017年 wade. All rights reserved.
//

import UIKit

class WBNavigationViewController: UINavigationController {

    override func pushViewController(_ viewController: UIViewController, animated: Bool) {
        
        if childViewControllers .count > 0
        {
            hidesBottomBarWhenPushed = true
        }
        
        
        
        
        super.pushViewController(viewController, animated: true)
    }
    
}
